package course

import "aifuture.cloud/response/course"

type Mock struct {
}

func NewMock() *Mock {
	return &Mock{}
}


func (m *Mock) List() []*course.CourseResponse {
	course1 := &course.CourseResponse{
		CourseId: 1,
		Title:        "试听课-Python入门课",
		Price:        9.9,
		YPrice:       0,
		LearnPeCount: 12269,
		IsLearning:   0,
		IsLogin:      0,
		Image:        "https://www.lanboai.cn/gateway/system/images/e7c911bbb05940a6bd57a50906689cf3.png",
		LearnUrl:"",
	}
	course2 := &course.CourseResponse{
		CourseId: 2,
		Title:        "软件测试工程师",
		Price:        10600,
		YPrice:       8600,
		LearnPeCount: 4784,
		IsLearning:   0,
		IsLogin:      0,
		Image:        "https://www.lanboai.cn/gateway/system/images/235fcf4eb5484ec589722d2f15acb70d.png",
	}

	course3 := &course.CourseResponse{
		CourseId: 3,
		Title:        "人工智能高级算法工程师",
		Price:        36800,
		YPrice:       32800,
		LearnPeCount: 20654,
		IsLearning:   0,
		IsLogin:      0,
		Image:        "https://www.lanboai.cn/gateway/system/images/2fa3d1a5470e4c5e82db258d5e2b6674.png",
	}

	course4 := &course.CourseResponse{
		CourseId: 4,
		Title:        "国内外人工智能科创竞赛【咨询】",
		Price:        99,
		YPrice:       9.9,
		LearnPeCount: 29000,
		IsLearning:   0,
		IsLogin:      0,
		Image:        "https://www.lanboai.cn/gateway/system/images/8b415c72d9f34b77895ac38480d25196.png",
	}

	data := make([]*course.CourseResponse, 0)
	data = append(data, course1)
	data = append(data, course2)
	data = append(data, course3)
	data = append(data, course4)

	return data
}
